package com.hutu.comment.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 问题表
 * @TableName tb_question
 */
@TableName(value ="tb_question")
@Data
public class TbQuestion implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private String id;

    /**
     * 提问标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 标签，多个逗号分隔
     */
    @TableField(value = "tags")
    private String tags;

    /**
     * 问题(关联tb_editor_data表)
     */
    @TableField(value = "question")
    private Integer question;

    /**
     * 答案(关联tb_editor_data表),未回答为0
     */
    @TableField(value = "answer")
    private Integer answer;

    /**
     * 状态：1.已上架 0已下架
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 问题回复人
     */
    @TableField(value = "answerer")
    private String answerer;

    /**
     * 是否精品
     */
    @TableField(value = "classic")
    private Integer classic;

    /**
     * 创建者
     */
    @TableField(value = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新者
     */
    @TableField(value = "update_user")
    private String updateUser;

    /**
     * 
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 是否删除，1为是，0为否
     */
    @TableField(value = "delete_flag")
    private Integer deleteFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}